Optimal. Leaf size=36 \[ \frac{\tan (e+f x) (c-c \sec (e+f x))}{3 f (a \sec (e+f x)+a)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.047863, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.033, Rules used = {3950} \[ \frac{\tan (e+f x) (c-c \sec (e+f x))}{3 f (a \sec (e+f x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3950
Rubi steps
\begin{align*} \int \frac{\sec (e+f x) (c-c \sec (e+f x))}{(a+a \sec (e+f x))^2} \, dx &=\frac{(c-c \sec (e+f x)) \tan (e+f x)}{3 f (a+a \sec (e+f x))^2}\\ \end{align*}
Mathematica [A] time = 0.0882635, size = 23, normalized size = 0.64 \[ -\frac{c \tan ^3\left (\frac{1}{2} (e+f x)\right )}{3 a^2 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.066, size = 21, normalized size = 0.6 \begin{align*} -{\frac{c}{3\,f{a}^{2}} \left ( \tan \left ({\frac{fx}{2}}+{\frac{e}{2}} \right ) \right ) ^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.978455, size = 127, normalized size = 3.53 \begin{align*} -\frac{\frac{c{\left (\frac{3 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac{\sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )}}{a^{2}} - \frac{c{\left (\frac{3 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac{\sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )}}{a^{2}}}{6 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.436839, size = 126, normalized size = 3.5 \begin{align*} \frac{{\left (c \cos \left (f x + e\right ) - c\right )} \sin \left (f x + e\right )}{3 \,{\left (a^{2} f \cos \left (f x + e\right )^{2} + 2 \, a^{2} f \cos \left (f x + e\right ) + a^{2} f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{c \left (\int - \frac{\sec{\left (e + f x \right )}}{\sec ^{2}{\left (e + f x \right )} + 2 \sec{\left (e + f x \right )} + 1}\, dx + \int \frac{\sec ^{2}{\left (e + f x \right )}}{\sec ^{2}{\left (e + f x \right )} + 2 \sec{\left (e + f x \right )} + 1}\, dx\right )}{a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.35652, size = 28, normalized size = 0.78 \begin{align*} -\frac{c \tan \left (\frac{1}{2} \, f x + \frac{1}{2} \, e\right )^{3}}{3 \, a^{2} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]